Conversation
…ext, workflow templates Agent-Logs-Url: https://github.com/huberp/agentloop/sessions/3a8fc459-0fd4-4ab9-8e11-a59e4d76960b Co-authored-by: huberp <4027454+huberp@users.noreply.github.com>
|
Copilot misunderstood my intention. |
…sformation, remove cmake-specific skill Agent-Logs-Url: https://github.com/huberp/agentloop/sessions/d37e4f03-c06f-4113-a6da-f608dbd6b3f4 Co-authored-by: huberp <4027454+huberp@users.noreply.github.com>
Addressed in 3e615c9. The research document ( Key points in the revised document:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
The workspaceinfo still uses hardcoded exploration for cargo, cmake by using cmd lines, which in case of cmake on windows could be not on the path. |
|
though this pr is "titled" research, copilot already changed code. And it changed code in an unintended way. |
…ing pipeline - Add `WorkspaceContext` interface and `toWorkspaceContext()` helper to src/workspace.ts - Add `src/agents/project-explorer.ts`: LLM-driven workspace exploration via file-list and file-read tools; produces WorkspaceContext with buildSystems[] and explorerNotes; no hardcoded command strings for any build system - Update generatePlan/refinePlan in src/subagents/planner.ts to accept WorkspaceContext; buildPlannerTask now includes buildSystems notes and explorerNotes in the planner prompt - Update coordinatedExecute in src/agents/coordinator.ts to accept workspaceContext - Update plan.ts and plan-and-run.ts tools to wrap analyzeWorkspace() with toWorkspaceContext() - Add src/__tests__/project-explorer.test.ts (11 tests) - Update src/__tests__/planner.test.ts and e2e test to use WorkspaceContext - Update issues/2.md to document the ProjectExplorer and WorkspaceContext design Agent-Logs-Url: https://github.com/huberp/agentloop/sessions/a68943d2-839b-4e55-ba44-3606340352a0 Co-authored-by: huberp <4027454+huberp@users.noreply.github.com>
Agent-Logs-Url: https://github.com/huberp/agentloop/sessions/a68943d2-839b-4e55-ba44-3606340352a0 Co-authored-by: huberp <4027454+huberp@users.noreply.github.com>
Addressed in 000a8ae. The hardcoded workspace analysis for CMake, Cargo, Gradle, and Maven has been replaced by the How it works:
The output — interface WorkspaceContext extends Record<string, unknown> {
workspaceInfo: WorkspaceInfo;
// explorer-contributed keys:
buildSystems?: BuildSystemInfo[]; // one per detected build system
explorerNotes?: string; // free-form observations (e.g. monorepo layout)
}This flows through the entire pipeline: The old Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Coding agents need to dynamically derive concrete, workspace-specific steps from a generic workflow intent (e.g. "verify-build") rather than relying on hardcoded templates. This PR documents how agentloop's machinery performs this intent-to-action transformation and adds the missing workspace exploration and planner context infrastructure to support it.
Research (
issues/2.md)Completely rewritten to focus on the dynamic agent-driven transformation from generic intent to concrete steps:
ProjectExplorer.exploreWorkspace()→generatePlan()→executePlan()— the explorer reads actual project files via LLM+tools and the planner derives steps from the resulting context at runtimecopilot/research-agent-fws) are essential:ProjectExploreris the workspace-analyst child agent;coordinatedExecute()now acceptsWorkspaceContextProjectExplorer agent (
src/agents/project-explorer.ts)New
exploreWorkspace({ registry, llm })function runs aproject-explorersubagent withfile-listandfile-readtools:No hardcoded command strings: the LLM reads the actual files and derives build system information from their contents. If
cmakeis not on PATH, the notes reflect that; the executing agent resolves the invocation for the target platform.WorkspaceContext (
src/workspace.ts)New
WorkspaceContextinterface — a generic map that flows through the planning pipeline:toWorkspaceContext(info: WorkspaceInfo)wraps the existinganalyzeWorkspace()result for backward-compatible use in theplanandplan-and-runtools.Planner context (
src/subagents/planner.ts)generatePlan()andrefinePlan()now acceptWorkspaceContextinstead ofWorkspaceInfo.buildPlannerTaskincludesbuildSystems[].notesandexplorerNotesin the planner prompt so the LLM derives concrete commands from actual file content:Coordinator (
src/agents/coordinator.ts)CoordinatedExecuteOptions.workspaceContext: WorkspaceContextreplaces the formerworkspaceInfo: WorkspaceInfofield, making the high-level entry point compatible withProjectExploreroutput.Workflow execution primitives
Two new agent profiles + one generic skill shape the execution environment for build and test steps. The concrete commands always come from workspace exploration, not from the profiles:
build-verify.agent.jsonshell,file-read,file-listtest-runner.agent.jsonbuild-verify.skill.md